The metacharacter _%%%% introduces a substitution field, where _%%%%_LLLL substitutes
the current setting of the _LLLL_AAAA_NNNN_GGGG environment variable if _o_f_l_a_g is 0 or the
current setting of the _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS category if _o_f_l_a_g is _NNNN_LLLL______CCCC_AAAA_TTTT______LLLL_OOOO_CCCC_AAAA_LLLL_EEEE
(see following section), and _%%%%_NNNN substitutes the value of the _n_a_m_e
parameter passed to _cccc_aaaa_tttt_oooo_pppp_eeee_nnnn. Thus, in the above example, if _o_f_l_a_g is 0,
_cccc_aaaa_tttt_oooo_pppp_eeee_nnnn will search in _////_nnnn_llll_ssss_llll_iiii_bbbb_////_$$$$_LLLL_AAAA_NNNN_GGGG_////_n_a_m_e_...._cccc_aaaa_tttt, then in
_////_nnnn_llll_ssss_llll_iiii_bbbb_////_n_a_m_e_////_$$$$_LLLL_AAAA_NNNN_GGGG, for the required message catalogue.
_NNNN_LLLL_SSSS_PPPP_AAAA_TTTT_HHHH will normally be set up on a system wide basis (e.g., in
_////_eeee_tttt_cccc_////_pppp_rrrr_oooo_ffff_iiii_llll_eeee) and thus makes the location and naming conventions
associated with message catalogues transparent to both programs and
users.
Security dictates that _cccc_aaaa_tttt_oooo_pppp_eeee_nnnn does not honor the _NNNN_LLLL_SSSS_PPPP_AAAA_TTTT_HHHH environment
variable for setuid and setgid programs.
The full set of metacharacters is:
_%%%%_NNNN The value of the name parameter passed to _cccc_aaaa_tttt_oooo_pppp_eeee_nnnn.
_%%%%_LLLL The value of _LLLL_AAAA_NNNN_GGGG environment variable if _o_f_l_a_g is 0. The
value of _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS category if _o_f_l_a_g is _NNNN_LLLL______CCCC_AAAA_TTTT______LLLL_OOOO_CCCC_AAAA_LLLL_EEEE.
_%%%%_llll The value of the language element of _LLLL_AAAA_NNNN_GGGG environment variable
if _o_f_l_a_g is 0. The value of the language element of
_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS category if _o_f_l_a_g is _NNNN_LLLL______CCCC_AAAA_TTTT______LLLL_OOOO_CCCC_AAAA_LLLL_EEEE.
_%%%%_tttt The value of the territory element of _LLLL_AAAA_NNNN_GGGG environment variable
if _o_f_l_a_g is 0. The value of the territory element of
_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS category if _o_f_l_a_g is _NNNN_LLLL______CCCC_AAAA_TTTT______LLLL_OOOO_CCCC_AAAA_LLLL_EEEE.
_%%%%_cccc The value of the codeset element of _LLLL_AAAA_NNNN_GGGG environment variable
if _o_f_l_a_g is 0. The value of the codeset element of _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS
category if _o_f_l_a_g is _NNNN_LLLL______CCCC_AAAA_TTTT______LLLL_OOOO_CCCC_AAAA_LLLL_EEEE.
_%%%%_%%%% A single %.
The _LLLL_AAAA_NNNN_GGGG environment variable provides the ability to specify the user's
requirements for native languages, local customs, and character set, as
With this setting it should be possible for that user to find any
relevant catalogues should they exist.
If it still can't find the catalogue file, then the default path as
defined in _nnnn_llll______tttt_yyyy_pppp_eeee_ssss is used.
_o_f_l_a_g is used to locate the catalogue file. If _o_f_l_a_g is 0, the _LLLL_AAAA_NNNN_GGGG
environment variable is used to locate it. If _o_f_l_a_g is set to
_NNNN_LLLL______CCCC_AAAA_TTTT______LLLL_OOOO_CCCC_AAAA_LLLL_EEEE, the _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS category is used to locate the catalogue
file. The results of setting this field to any other value are
undefined.
_cccc_aaaa_tttt_cccc_llll_oooo_ssss_eeee closes the message catalogue identified by _c_a_t_d.
If successful, _cccc_aaaa_tttt_oooo_pppp_eeee_nnnn returns a message catalogue descriptor for use in
subsequent calls to _cccc_aaaa_tttt_gggg_eeee_tttt_ssss and _cccc_aaaa_tttt_cccc_llll_oooo_ssss_eeee. Otherwise _cccc_aaaa_tttt_oooo_pppp_eeee_nnnn returns